package com.hutu.comment.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.github.jeffreyning.mybatisplus.anno.MppMultiId;
import lombok.Data;

import java.io.Serializable;

/**
 * 用户收藏评论记录表
 * @TableName tb_user_collected_comment
 */
@TableName(value ="tb_user_collected_comment")
@Data
public class TbUserCollectedComment implements Serializable {
    /**
     * 用户
     */
    @MppMultiId
    @TableField(value = "username")
    private String username;

    /**
     * 评论ID
     */
    @MppMultiId
    @TableField(value = "comment_id")
    private Integer commentId;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}